/**
 * 
 */
package site.entity;

import neoutil.CommonEntity;

/**
 * iplayad中可以分享的东西，目前主要是视频和图片。
 * 
 * @author Neo
 * 
 */
public class Item extends CommonEntity {
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 简介
	 */
	private String description;
	/**
	 * 类型
	 */
	private String type;
	/**
	 * 图片地址
	 */
	private String imagePath;
	/**
	 * 视频地址
	 */
	private String videoUrl;

	/**
	 * 上传者信息
	 */
	private Long publisherId;
	private String publisherUuid;
	private User publisher;

	/**
	 * 评论数（增加、删除时加一、减一，系统定时清理不一致。）
	 */
	private int commentCount = 0;
	/**
	 * 喜欢数（增加、删除时加一、减一，系统定时清理不一致。）
	 */
	private int likeCount = 0;

	// === Getters and Setters === //
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public Long getPublisherId() {
		return publisherId;
	}

	public void setPublisherId(Long publisherId) {
		this.publisherId = publisherId;
	}

	public String getPublisherUuid() {
		return publisherUuid;
	}

	public void setPublisherUuid(String publisherUuid) {
		this.publisherUuid = publisherUuid;
	}

	public User getPublisher() {
		return publisher;
	}

	public void setPublisher(User publisher) {
		this.publisher = publisher;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public int getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(int likeCount) {
		this.likeCount = likeCount;
	}
}
